#include "reglib.c"
#include <stdio.h>

int main() {
	int N = 4;
	InitLogArray(N);
	omp_set_num_threads(N);
	struct SBMRSWRegister reg0;
	init_SBMRSWRegister(&reg0, N);
	
#pragma omp parallel
	{
#pragma omp master
		write_SBMRSWRegister(&reg0, 1);
		
		
		BL c = read_SBMRSWRegister(&reg0);
	}	
	FinalizeLogArray(N);
}
